﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Detail.aspx.cs" Inherits="Movie.web.Detail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>电影详情信息</title>
    <style type="text/css">
        *{ margin:0; padding:0;}
        body{ width:80%; margin :0 auto;}
     img{ width:20%; height:60%; float:left;}
     span{  font-size:30px;  }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <asp:DataList ID="DataList1" runat="server" RepeatColumns="5">
     
        <ItemTemplate>
          <asp:Image ID="Image1" runat="server" ImageUrl='<%#Eval("Mpicture") %>' />
           <div id="Info"> 
            <asp:Label ID="Label6" runat="server" Text='<%#"电影名称："+Eval("Mname") %>'></asp:Label><br />
            <asp:Label ID="Label2" runat="server" Text='<%#"主演:"+Eval("Mactor") %>'></asp:Label><br />
            <asp:Label ID="Label3" runat="server"  Text='<%#"导演："+Eval("Mdirector") %>'></asp:Label><br />
            <asp:Label ID="Label4" runat="server"  Text='<%#"评分:"+Eval("Mscore") %>'></asp:Label>  <br />
           </div>

          <asp:Button ID="btnBuy" runat="server" Text="购票" BackColor="#9966ff" Height='50px' Width='140px' onclick="btnBuy_Click"/>
          
          <div id="brief">
          <asp:Label ID="Label1" runat="server"  Text='<%#"简介："+Eval("Mbrief") %>'></asp:Label>  
          </div>
        </ItemTemplate>
        
        </asp:DataList>


          </div>
    </form>
</body>
</html>
